{% extends "base.html" %}

{%block headline%}Login{%endblock%}

{% block content %}

  {% if form.errors %}
    <p class="error">Sorry, that's not a valid username or password</p>
  {% endif %}

  <form action='.' method='post'>
    <table><tr><td>
        <label for="username">User name:</label>
    </td><td>    
        <input type="text" name="username" value="" id="username">
    </td></tr>
    <tr><td>
        <label for="password">Password:</label>
    </td><td>    
        <input type="password" name="password" value="" id="password">
    </td></tr>
    <tr><td>
    </td><td>    
        <input type="submit" value="login" />
    </td></tr>
    </table>
    <input type="hidden" name="next" value="{{ next|escape }}" />
  <form action='.' method='post'>

{% endblock %}
